import DishFlavor from '../entity/DishFlavor'
import { Page } from './page'

// 查询菜品的一些条件（不包含分页条件）
export class DishPageWrapper extends Page {
  /**
   * 菜类id
   */
  public dishCategoryId: number
  /**
   * 菜品状态
   */
  public dishStatus: number
  /**
   * 搜索的keyword
   */
  public keyword: string
}

/**
 * 菜品保存dto
 *
 *  *  */
export class DishSaveParam {
  public id: number
  public dishCategoryId: number
  public name: string
  public image: string
  public labels: string
  public describe: string
  public oldPrice: number
  public nowPrice: number
  public flavors: Array<DishFlavor>
}
